import RoleSettingReceiptComp from "containers/setting/role-setting/receipt-role/receipt-role";
import RoleSettingDataComp from "containers/setting/role-setting/data-role/data-role";
import RoleSettingAdminComp from "containers/setting/role-setting/admin-role/admin-role";
import RoleSettingBookingComp from "containers/setting/role-setting/booking-role/booking-role";
import RoleSettingFinanceComp from "containers/setting/role-setting/finance-role/finance-role";
import RoleSettingFinanceDetailComp from "containers/setting/role-setting/finance-role/finance-role-detail";
import RoleSettingComp from "containers/setting/role-setting/role-setting";

//角色设置
const RoleSettingMenu = {
  key:'role-setting',
  url:'/main/setting/role-setting',
  components: RoleSettingComp,
  // ng-hide="functionProfile['settings.authority.disabled']"请保留，之后参考
  parent: 'setting',
  tenant: true,
  children:{
    //数据专员
    dataRole: {
      key:'role-setting-data',
      url:'/main/setting/role-setting/role-setting-data',
      components: RoleSettingDataComp,
      parent: 'role-setting'
    },
    //收单
    receiptRole: {
      key:'role-setting-receipt',
      url:'/main/setting/role-setting/role-setting-receipt',
      components: RoleSettingReceiptComp,
      parent: 'role-setting'
    },
    //管理员
    adminRole: {
      key:'role-setting-admin',
      url:'/main/setting/role-setting/role-setting-admin',
      components: RoleSettingAdminComp,
      parent: 'role-setting'
    },
    //财务
    financeRole: {
      key:'role-setting-finance',
      url:'/main/setting/role-setting/role-setting-finance',
      components: RoleSettingFinanceComp,
      parent: 'role-setting'
    },
    //订票
    bookingRole: {
      key:'role-setting-booking',
      url:'/main/setting/role-setting/role-setting-booking',
      components: RoleSettingBookingComp,
      parent: 'role-setting'
    },
    //财务角色详情
    financeDetail: {
      key: 'role-setting-finance-detail',
      url: '/main/setting/role-setting/role-setting-finance/role-setting-finance-detail/:roleOID',
      components: RoleSettingFinanceDetailComp,
      parent: 'role-setting'
    },
  }
};
export default RoleSettingMenu;
